<%@ page language="java" contentType="text/html; charset=ISO-8859-15" pageEncoding="ISO-8859-15"%>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-bean" prefix="bean"%> 
<%@ taglib uri="http://jakarta.apache.org/struts/tags-html" prefix="html"%>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-logic" prefix="logic" %>
<%@ taglib uri="http://displaytag.sf.net/el" prefix="display" %>


<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-15">
<title></title>
</head>
<body>
<script type="text/javascript">

function modificaSolicitud(form){
	document.getElementById("form1").action="newSolicitudLlibre.do?action=modificaSolicitud";
	document.getElementById("form1").submit();
}

</script>


<h1>
	<bean:message key="label.title.resum.reservesDuplicats" />
</h1>


<html:form styleId="form1" action="/GestionSolicitud?action=gestioDuplicatsList">
	
<h4>
	<bean:message key="label.title.dadesLlibre" />
</h4>
<fieldset id="fSDLlibres">
				
					<b><bean:message key="label.text.titol" />:</b>
				
					<bean:write name="gestionSolicitudForm" property="titol" />
				
					<b><bean:message key="label.text.isbn" />:</b>
				
					<bean:write name="gestionSolicitudForm" property="isbn" />
				
			
</fieldset>

<h4>
	<bean:message key="label.title.reservesDuplicats" />
</h4>

<div id="divLlibres">
		<logic:notEmpty name="gestionSolicitudForm" property="llibres">
				 
				 <logic:iterate name="gestionSolicitudForm" property="llibres" id="llibre">
							<fieldset style="margin-top:15px; ">
							<table >	
								<tr>
									<td>
						 				<b><bean:message key="label.text.personaSolicitant" />:</b> <bean:write name="llibre" property="personaSolicitant" /> 
									</td>
									<td>
						 				<b><bean:message key="label.title.estatReserva" />:</b> <bean:write name="llibre" property="estadoSolicitud.descripcion" />
						 			</td>
					 			</tr>
					 			<tr>
									<td>
						 				<b><bean:message key="label.text.assignatura" />:</b> <bean:write name="llibre" property="assignatura" /> 
									</td>
									<td>
						 				<b><bean:message key="label.text.centreResponsabilitat" />:</b> <bean:write name="llibre" property="centreResponsabilitat" />
						 			</td>
					 			</tr>
					 			<tr>
									<td>
						 				<b><bean:message key="label.text.codiProyecte" />:</b> <bean:write name="llibre" property="codiProyecte" /> 
									</td>
									<td>
						 				<b><bean:message key="label.text.codiOsrt" />:</b> <bean:write name="llibre" property="codiOsrt" />
						 			</td>
					 			</tr>
					 			<tr>
					 				<td>
						 				<b>Data creaci&oacute;:</b> <bean:write name="llibre" property="dataCreacio" />
						 			</td>
						 			<td>
						 				<b>Data actualizaci&oacute;:</b> <bean:write name="llibre" property="dataActualizacio" />
						 			</td>
					 			</tr>
					 			<tr>
						 			<td colspan="2">
						 				 <html:link action="GestionSolicitud.do?action=gestioLlibre&goTo=duplicats"  paramId="idSolicitud" paramName="llibre" paramProperty="idSolicitud" >  Ir a detall ... </html:link>    
						 			</td>
					 			</tr>
				 			</table>
				 			</fieldset>	 
				 </logic:iterate>
 		
		</logic:notEmpty>
		
	
</div>

<div id="divButtons">
	<html:submit styleId="procesa">  <bean:message key="label.button.torna" /> </html:submit>
</div>


</html:form>


</body>
</html>